﻿@model CodeCamp.Models.EventMgmt.EventMgmtUserViewModel

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <table>

@Html.HiddenFor(model => model.ProviderUserKey);

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.Username)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.Username)
            @Html.ValidationMessageFor(model => model.Username)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.PresenterName)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.PresenterName)
            @Html.ValidationMessageFor(model => model.PresenterName)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.PresenterIdentityClaim)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.PresenterIdentityClaim)
            @Html.ValidationMessageFor(model => model.PresenterIdentityClaim)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.UserEmailAddress)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.UserEmailAddress)
            @Html.ValidationMessageFor(model => model.UserEmailAddress)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.PresenterEmailAddress)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.PresenterEmailAddress)
            @Html.ValidationMessageFor(model => model.PresenterEmailAddress)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.UserCreationDate)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.UserCreationDate)
            @Html.ValidationMessageFor(model => model.UserCreationDate)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.LastActivityDate)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.LastActivityDate)
            @Html.ValidationMessageFor(model => model.LastActivityDate)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.LastLoginDate)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.LastLoginDate)
            @Html.ValidationMessageFor(model => model.LastLoginDate)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.IsLockedOut)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.IsLockedOut)
            @Html.ValidationMessageFor(model => model.IsLockedOut)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.IsOnline)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.IsOnline)
            @Html.ValidationMessageFor(model => model.IsOnline)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.PresenterId)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.PresenterId)
            @Html.ValidationMessageFor(model => model.PresenterId)
        </td>
        </tr>

        <tr>
        <td class="editor-label">
            @Html.LabelFor(model => model.RolesCSV)
        </td>
        <td class="editor-field">
            @Html.EditorFor(model => model.RolesCSV)
            @Html.ValidationMessageFor(model => model.RolesCSV)
        </td>
        </tr>

        <tr>
        <td colspan="2">
            <input type="submit" value="Save" />
        </td>
        </tr>
    </table>
}
